﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FtpInfras;
public interface IFtpUtil
{
    /// <summary>
    /// 被动上传文件
    /// </summary>
    /// <param name="file"></param>
    public void PassiveUpLoad(string file);

    /// <summary>
    /// 主动上传文件
    /// </summary>
    /// <param name="file"></param>
    public void ActiveUpLoad(string file);

    /// <summary>
    /// 文件下载
    /// </summary>
    /// <param name="savePath"></param>
    public void DownloadFile(string savePath);
}
